package com.linfeng.business.order;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/**
 * Spring Boot Starter
 *
 * @author LinFeng
 */
@SpringBootApplication
@MapperScan(basePackages = "com.linfeng.business.order.mapper")
@ComponentScan(basePackages = {"com.linfeng.business.order", "com.alibaba.cola",
        "com.linfeng.component.dynamic.datasource.config", "com.linfeng.component.oauth.config"})
@EnableFeignClients(basePackages = "com.linfeng.business.order.aggregate")
public class BusinessOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(BusinessOrderApplication.class, args);
    }
}
